]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[AppWell] Don't duplicate running+favorite
authorColin Walters <walters@verbum.org>
Wed, 14 Oct 2009 19:36:58 +0000 (15:36 -0400)
committerColin Walters <walters@verbum.org>
Wed, 14 Oct 2009 19:36:58 +0000 (15:36 -0400)
Regression introduced with previous patch.

js/ui/appDisplay.js

index 14f246b86039e1a6365032160217d8202d5f35f8..47dd726ef6208385308290325ffe8c3438884fdc 100644 (file)
@@ -865,6 +865,8 @@ AppWell.prototype = {
 
         for (let i = 0; i < running.length; i++) {
             let app = running[i];
+            if (app.get_id() in favoriteIds)
+                continue;
             let display = new RunningWellItem(app, false);
             this._grid.actor.add_actor(display.actor);
         }